﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jacaranda.Model
{
    public class SearchRangeCriteria : SearchPaginationCriteria
    {
        public int FromIndex { get; set; }

        public int Length { get; set; }

        internal override int SelectStart
        {
            get { return FromIndex + 1; }
        }

        internal override int PageLength
        {
            get { return Length; }
        }
    }
}
